//
// Created by Scave on 2023/11/8.
//

#include "RiderEngine.h"

NS_RIDER_BEGIN

    RiderEngine::RiderEngine(const RenderConfig& config) {
        scenes_.SetRenderConfig(config);
    }

    RiderEngine::~RiderEngine() {

    }

    SceneManager& RiderEngine::GetScenes() {
        return scenes_;
    }

    ResourceManager& RiderEngine::GetResources() {
        return resources_;
    }

    InputManager& RiderEngine::GetInputs() {
        return inputs_;
    }

    FileManager& RiderEngine::GetFiles() {
        return files_;
    }

    void RiderEngine::Update() {
        scenes_.Flush();
    }

NS_RIDER_END

// unknown